package io.github.yedaxia.apidocs.parser;

import lombok.Data;

/**
 * a field node corresponds to a response field
 * @author yeguozhong yedaxia.github.com
 */
@Data
public class FieldNode {
    private String name;
    private String type;
    private String description;
    private MockNode mockNode;
    private ClassNode childNode; // 表示该field持有的对象类
    private ClassNode classNode; // 该field所在的类
    private Boolean loopNode = Boolean.FALSE; // 有循环引用的类
    private Boolean notNull = Boolean.FALSE;
}
